package com.design.singleton;

import java.io.*;

public class SerializableSingleton implements Serializable {

    private static SerializableSingleton singleton = new SerializableSingleton();

    private SerializableSingleton() {

    }

    public static SerializableSingleton get() {
        return singleton;
    }

    Object readResolve() throws ObjectStreamException {
        return singleton;
    }

}
